package com.youi.entity;

import java.util.Date;
import java.sql.*;


import java.io.Serializable;


/**
 * 实体类
 * @author XJY
 */
public class Goodsandgoodscar implements Serializable {

	private Long id;							//ID
	private Date gmtCreated;					//创建时间
	private Integer delStatus;					//删除状态（0否 1是）
	private Date gmtModify;					    //最后修改时间
	private Long goodscarId;				    //购物车id
	private Long goodsId;					    //商品id
	private String specification;			    //规格
	private Integer count;					    //数量

    public Goodsandgoodscar(){

    }

    public Goodsandgoodscar(Long id,Date gmtCreated,Integer delStatus,Date gmtModify) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
    }


    public Goodsandgoodscar(Long id,Date gmtCreated,Integer delStatus,Date gmtModify,Long goodscarId,Long goodsId,String specification,Integer count) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
       this.goodscarId=goodscarId;
       this.goodsId=goodsId;
       this.specification=specification;
       this.count=count;
    }


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setGmtModify(Date gmtModify){
		this.gmtModify=gmtModify;
	}

	public Date getGmtModify(){
		return gmtModify;
	}

	public void setGoodscarId(Long goodscarId){
		this.goodscarId=goodscarId;
	}

	public Long getGoodscarId(){
		return goodscarId;
	}

	public void setGoodsId(Long goodsId){
		this.goodsId=goodsId;
	}

	public Long getGoodsId(){
		return goodsId;
	}

	public void setSpecification(String specification){
		this.specification=specification;
	}

	public String getSpecification(){
		return specification;
	}

	public void setCount(Integer count){
		this.count=count;
	}

	public Integer getCount(){
		return count;
	}

}
